Skip to content

Redesign UI: App Shell, Kasir, Dashboard, Produk, Stok, Laporan - #1

Merged
ronalandroid merged 17 commits into
mainfrom
redesign/professional-ui
Nov 15, 2026
Merged

ronalandroid merged 17 commits into
mainfrom
redesign/professional-ui

Conversation

@ronalandroid

@ronalandroid ronalandroid commented Nov 13, 2026 •

Copy link
Copy Markdown
Owner

Ringkasan

Redesign tahap inti supaya tampilan KaffePOS lebih rapi dan profesional, tetap di design system KaffePOS (oranye, Plus Jakarta Sans/Outfit, sudut besar, target sentuh 44px).

Fondasi (merambat ke semua layar)

  • Latar app jadi kanvas netral hangat yang flat (tanpa glow oranye), border tipis, shadow kecil berlapis, shadow CTA lebih halus.
  • Fix bug overflow-wrap: anywhere yang memotong judul di tengah kata ("Katalo g Menu", "KaffePO S").
  • Primitive baru: kaffe-card, kaffe-segmented, kaffe-icon-btn, kaffe-eyebrow, kaffe-num.

App Shell

  • Sidebar dibagi seksi (Operasional, Bisnis, Tim, Akun), nama toko di bawah logo, footer profil + tombol keluar.
  • Tablet 1024–1279px: sidebar jadi icon rail supaya katalog POS tidak sempit.
  • Mobile: top bar dengan logo + nama toko + notifikasi (bel tidak lagi menimpa konten). Bottom nav: Kasir dan Transaksi di depan.
  • Banner update dan limit transaksi jadi bar tipis satu baris.
  • Tombol feedback jadi ikon kecil dan disembunyikan di tab Kasir/Dapur (sebelumnya menutupi tombol Bayar).

Kasir (POS)

  • Header katalog lebih bersih, status koneksi inline, chip kategori aksesibel ("Semua").
  • Kartu produk ringkas: placeholder tanpa teks "KaffePOS Visual", tombol + dan badge jumlah.
  • Keranjang gaya list, tipe pesanan segmented, total lebih jelas, CTA Bayar besar.

Dashboard

  • Tanggal + kontrol periode segmented, stat card 2 kolom di mobile dan 4 kolom dari 1024px.
  • Panel, grafik, Terlaris, dan Operasional lebih tenang (tanpa label uppercase berteriak).

Produk (commit 2)

  • Header dengan jumlah produk, pencarian + chip kategori dalam satu baris, tabel lebih tenang dengan kolom Dijual.
  • Komponen baru ui/Switch (role="switch", aria-checked, hit area 44px) menggantikan toggle yang membesar jadi lingkaran hijau karena aturan global tombol 44px.

Stok (commit 2)

  • Tab bagian bergaya underline, alert dan pencarian dipindah ke area konten, kartu metrik.
  • Kartu bahan baku: status Aman/Menipis/Habis, bar level stok, tombol Restock/Opname 44px. Form PO, konversi, dan impor memakai gaya input/CTA bersama.

Laporan (commit 2)

  • Header berisi Catat Pengeluaran + Ekspor PDF, tab periode underline dengan ikon gembok untuk periode terkunci.
  • 6 KPI dalam grid 2/3 kolom, AI Insight di bawah KPI, pemilih grafik segmented, line chart tinggi tetap (titik tidak lagi melar), panel Laba Rugi dan Kas lebih rapi.

Sebelum / Sesudah

POS desktop Dashboard desktop
POS tablet Dashboard tablet
POS mobile Dashboard mobile
Produk desktop Produk mobile
Stok desktop Stok mobile
Laporan desktop Laporan mobile

Screenshot diambil dari dev server dengan data contoh (sesi dan store di-mock).

Verifikasi

  • npm run lint ✅ · npm run typecheck ✅ · vitest run 57 file / 208 test ✅ · npm run build:web ✅
  • src/test/designSystem.test.ts diperbarui: chip Produk sekarang dicek lewat aria-pressed; sekarang memastikan overflow-wrap: break-word (dan melarang anywhere), serta chip filter aktif tanpa outline/titik dekoratif.

Belum disentuh

Layar Transaksi, Dapur, Settings, Loyalty, Performa, Misi, Admin, Landing, dan Auth hanya ikut perubahan fondasi CSS. Layar-layar itu bisa jadi PR berikutnya.


Generated by Claude Code

Calmer, more professional surfaces within the KaffePOS design system:
- Foundation: flat warm-neutral canvas instead of orange glows, hairline
  borders and small layered shadows, softer CTA shadows, new primitives
  (kaffe-card, kaffe-segmented, kaffe-icon-btn, kaffe-eyebrow, kaffe-num).
- Fix overflow-wrap:anywhere on kaffe-responsive-surface, which split
  titles mid-word ("Katalo g Menu", "KaffePO S").
- App shell: sectioned sidebar (Operasional/Bisnis/Tim/Akun) with store
  name and user footer; icon rail on 1024-1279px tablets; mobile top bar
  replaces the floating bell; slim notice and upgrade bars.
- POS: cleaner catalog header, inline connection status, accessible
  category chips, compact product cards with add affordance and qty badge,
  list-style cart, segmented order type, clearer totals and Bayar CTA.
- Dashboard: date + segmented period control, 2-up stat cards on mobile,
  calmer panels, chart and list styling.
- Feedback button is a compact icon and hides on POS/Dapur so it no longer
  covers the checkout button.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
- Produk: header with product counts, inline search + category chips,
  calmer table with right-aligned prices and a proper Dijual column,
  compact mobile cards. New accessible Switch (role="switch",
  aria-checked, 44px hit area) replaces the toggle that inflated into a
  large green circle under the global 44px button rule.
- Stok: plain-language header, underline section tabs, alert and search
  moved into the content area, metric cards, ingredient cards with
  Aman/Menipis/Habis status, level bar and 44px actions; PO, conversion
  and import forms use the shared input/CTA styles.
- Laporan: header actions (Catat Pengeluaran, Ekspor PDF), underline
  period tabs with lock icons, 6 KPI cards in a 2/3-column grid, AI
  Insight moved below the KPIs, segmented chart switcher, fixed-height
  line chart without distorted dots, cleaner P&L and cash panels.
- Test contract: menu chips now asserted via aria-pressed.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
@ronalandroid ronalandroid changed the title Redesign UI: App Shell, Kasir (POS), Dashboard lebih profesional Redesign UI: App Shell, Kasir, Dashboard, Produk, Stok, Laporan Nov 14, 2026
…kon badge, perayaan tanpa confetti (G-01..G-40)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
…, teks analisis tanpa angka karangan (A-01..A-17)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
…im 'paling populer' dihapus (S-01..S-17)

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
Tiga testimoni bernama, rating bintang, dan angka dampaknya belum dikonfirmasi
nyata oleh pemilik produk. Commit ini berdiri sendiri supaya mudah di-revert
jika testimoni asli tersedia.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
… ikon lucide, tanpa kotak warna di kartu angka

Menambah src/test/iconSystem.test.ts yang mengunci pustaka, ukuran, stroke,
dan daftar glyph terlarang. Menggantikan rencana pembungkus ui/Icon.tsx: test
menjaga konsistensi tanpa mengubah 88 berkas ke API baru.

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
…very Gate di audit, screenshot sebelum/sesudah

Co-Authored-By: Claude Fable 5.2 <[email protected]>
Claude-Session: https://claude.ai/code/session_011vndxtqKF6nqHv1Zuo9zbR
Rapikan ikon dan penamaan (anti-slop)
@ronalandroid
ronalandroid merged commit 6895202 into main Nov 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants